package com.dangs.autotest.test;

import java.io.Serializable;
import java.util.List;

public interface Task extends Runnable, Serializable {
    void init();
    void prepare();
    void start();
    void stop();
    void setId(int id);
    int getId();
    void setName(String name);
    String getName();
    void setTasks(List<Task> tasks);
    List<Task> getTasks();
    String getInfo();
    void setInfo(String info);
    void check(Boolean check);
    boolean isChecked();
    void setWaiteTime(int waiteTime);
    int getWaiteTime();
    void setKeepTime(int keepTime);
    int getKeepTime();
    void setTimes(int times);
    int getTimes();
    void setCallBack(TaskCallBack callBack);
    boolean isRunning();
}
